﻿using System.Configuration;
using Inscriptionem.Configuration.Elements.Base;

namespace Inscriptionem.Configuration.Elements
{
    public class GeneralElement : BaseConfigurationElement
    {
        [ConfigurationProperty("url", DefaultValue = "http://localhost/", IsRequired = true)]
        public string URL
        {
            get
            {
                return (string)this["url"];
            }
            set
            {
                this["url"] = value;
            }
        }

        [ConfigurationProperty("title", DefaultValue = "Inscriptionem Blog", IsRequired = true)]
        public string Title
        {
            get
            {
                return (string)this["title"];
            }
            set
            {
                this["title"] = value;
            }
        }
    }
}